﻿using System.Collections.Generic;

namespace OneBlog.Model.Entities
{
    public class BlogInfo:Entity<int>
    {
        public string Content { get; set; }
        public string Title { get; set; }
        public string Url { get; set; }
        public bool IsForwarding { get; set; }
        public int? ReadNum { get; set; }
        public string ForUrl { get; set; }
        public bool? IsShowHome { get; set; }
        public bool IsShowMyHome { get; set; }

        public int UserId { get; set; }
        public virtual BlogUser CreateUser { get; set; }
        public virtual ICollection<BlogComment> Comments { get; set; }
        public virtual ICollection<BlogType> BlogTypes { get; set; }
    }
}